﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>jquery_Layout Page</title>

    <script src="../../js组件/jquery/jquery-latest-pack.js" type="text/javascript"></script>
</head>
<body>

    <div style="border: 1px hidden #000080;width: 470px;height: 212px;line-height: normal;vertical-align: middle;text-align: left;background-color: #C0C0C0;position: absolute;z-index: auto;top: 46px;left: 294px;">
    </div>
<input id="Reset1" type="reset" value="reset"  onclick="getvlaue()"/>


<script type="text/javascript">
 function getvlaue()
 {
    var p =  $("div").eq(0);
    var offset = p.offset();
    alert(offset.left);
    p.css(
        {
            left:(offset.left+300+"px"),
            top :(offset.top+150+"px")
        }
    );
    
 }

 
</script>
</body>

</html>
